﻿
namespace NamedBinaryTag
{
	/// <summary>
	/// Represents the last Tag of a TagCompound element list.
	/// </summary>
	public sealed class TagEnd : ITag
	{
		#region ITag Members

		public byte TagType
		{
			get { return 0; }
		}

		public string Name
		{
			get
			{
				return string.Empty;
			}
			set
			{
			}
		}

		public void Read(System.IO.BinaryReader input)
		{
		}

		public void Write(System.IO.BinaryWriter output)
		{
		}

		#endregion

		public override string ToString()
		{
			return string.Format("TagEnd");
		}
	}
}
